﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit">
	<!-- Resource dictionary entries should be defined here. -->
	<Style x:Key="MenuHeaderedContentControl" TargetType="controlsToolkit:HeaderedContentControl">
		<Setter Property="Foreground" Value="#FF000000"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="controlsToolkit:HeaderedContentControl">
					<Grid>
						<Grid.RowDefinitions>
							<RowDefinition Height="30"/>
							<RowDefinition/>
						</Grid.RowDefinitions>
						<Path Data="M0,6.5 C0,2.9101491 2.9101491,0 6.5,0 L193.5,0 C197.08984,0 193.66667,0.083334103 200,0.083334103 L200,30 C193.08333,30 197.08984,30 193.5,30 L6.5,30 C2.9101491,30 11.666667,30.000277 7.9825063E-15,30.000277 z" Fill="#99273512" Stretch="Fill" UseLayoutRounding="False"/>
						<Rectangle Fill="#993C511B" Grid.Row="1"/>
						<TextBlock TextWrapping="Wrap" Text="{TemplateBinding Header}" FontSize="16" FontWeight="Bold" Margin="5" Foreground="White"/>
						<ContentPresenter Cursor="{TemplateBinding Cursor}" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Grid.Row="1" Margin="5,10,10,10"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
</ResourceDictionary>